<?php
// +----------------------------------------------------------------------
// | HkCms
// +----------------------------------------------------------------------
// | Copyright (c) 2012-2019 http://www.hkcms.cn, All rights reserved.
// +----------------------------------------------------------------------
// | Author: 广州恒企教育科技有限公司 <admin@hkcms.cn>
// +----------------------------------------------------------------------

namespace app\admin\validate;

use think\Validate;

class Module extends Validate
{
    protected $rule = [
        'module' => 'require',
        'sign' => 'require',
        'modulename' => 'require',
        'version' => 'require',
    ];

    protected $message  =   [
        'module.require' => '模块目录名称不能为空',
        'sign.require' => '模块签名不能为空',
        'modulename.require' => '模块名称不能为空',
        'version.require' => '模块版本号不能为空',
    ];
}